package com.xuwang.pojo;

import java.sql.ClientInfoStatus;
import java.sql.Timestamp;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 菜品上报表(Food)实体类
 *
 * @author abaaba
 * @since 2021-09-15 20:31:41
 * @version 1.0
 */
@ApiModel(value = "Food",description = "菜品上报表")
public class Food implements Serializable {
    private static final long serialVersionUID = 595448508514217530L;
    /**
    * 主键
    */
	@ApiModelProperty(name = "id",notes = "主键",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 菜品名称
    */
	@ApiModelProperty(name = "foodName",notes = "菜品名称",dataType = "String",required = true)
    private String foodName;
    /**
    * 制作方法
    */
	@ApiModelProperty(name = "markMethod",notes = "制作方法",dataType = "String",required = true)
    private String markMethod;
    /**
    * 菜品价格
    */
	@ApiModelProperty(name = "price",notes = "菜品价格",dataType = "Double",required = true)
    private Double price;
    /**
    * 制作类型(0-7为不同类型）
    */
	@ApiModelProperty(name = "markType",notes = "写死",dataType = "String",required = true)
    private String markType;
    /**
    * 食品类型
    */
	@ApiModelProperty(name = "foodType",notes = "菜系表id",dataType = "Integer",required = true)
    private Integer foodKindId;
    /**
    * 口味
    */
	@ApiModelProperty(name = "taste",notes = "口味",dataType = "String",required = true)
    private String taste;
    /**
    * 菜品保质期（单位为天）
    */
	@ApiModelProperty(name = "foodWarranty",notes = "菜品保质期（单位为天）",dataType = "Integer",required = true)
    private Integer foodWarranty;
    /**
    * 注意事项
    */
	@ApiModelProperty(name = "notes",notes = "注意事项",dataType = "String",required = true)
    private String notes;
    /**
    * 菜品上报时间
    */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "createTime",notes = "菜品上报时间",dataType = "Date",required = true)
    private Timestamp createTime;
    /**
    * 状态（-1被抛弃，0还没审核，1已通过）
    */
	@ApiModelProperty(name = "action",notes = "状态（-1被抛弃，0还没审核，1已通过）",dataType = "Integer",required = true)
    private Integer action;
    /**
    * 是否删除0未删除，1删除
    */
	@ApiModelProperty(name = "isDelete",notes = "是否删除0未删除，1删除",dataType = "Integer",required = true)
    private Integer isDelete;
    /**
    * 申报企业id
    */
	@ApiModelProperty(name = "applyCompanyId",notes = "申报企业id",dataType = "Integer",required = true)
    private Integer applyCompanyId;

    /**
     * 申报企业对象
     */
    @ApiModelProperty(name = "applyCompany",notes = "申报企业对象",dataType = "CompanyInfo",required = true)
    private CompanyInfo applyCompany;
    /**
     * 食品关联的原材料集合
     */
    @ApiModelProperty(name = "foodRelationList",notes = "食品关联的原材料集合",dataType = "List<FoodRelation>",required = true)
    private List<FoodRelation> foodRelationList;

    /**
     * 菜系对象
     */
    @ApiModelProperty(name = "foodKind",notes = "菜系对象",dataType = "FoodKind",required = true)
    private FoodKind foodKind;

    public String getMarkType() {
        return markType;
    }

    public void setMarkType(String markType) {
        this.markType = markType;
    }

    public Integer getFoodKindId() {
        return foodKindId;
    }

    public void setFoodKindId(Integer foodKindId) {
        this.foodKindId = foodKindId;
    }

    public FoodKind getFoodKind() {
        return foodKind;
    }

    public void setFoodKind(FoodKind foodKind) {
        this.foodKind = foodKind;
    }

    public CompanyInfo getApplyCompany() {
        return applyCompany;
    }

    public void setApplyCompany(CompanyInfo applyCompany) {
        this.applyCompany = applyCompany;
    }

    public List<FoodRelation> getFoodRelationList() {
        return foodRelationList;
    }

    public void setFoodRelationList(List<FoodRelation> foodRelationList) {
        this.foodRelationList = foodRelationList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }
        
    public String getMarkMethod() {
        return markMethod;
    }

    public void setMarkMethod(String markMethod) {
        this.markMethod = markMethod;
    }
        

        
    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
        

        
    public String getTaste() {
        return taste;
    }

    public void setTaste(String taste) {
        this.taste = taste;
    }
        
    public Integer getFoodWarranty() {
        return foodWarranty;
    }

    public void setFoodWarranty(Integer foodWarranty) {
        this.foodWarranty = foodWarranty;
    }
        
    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Integer getAction() {
        return action;
    }

    public void setAction(Integer action) {
        this.action = action;
    }
        
    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
        
    public Integer getApplyCompanyId() {
        return applyCompanyId;
    }

    public void setApplyCompanyId(Integer applyCompanyId) {
        this.applyCompanyId = applyCompanyId;
    }

}